import type { RouteCallback } from './types'
import { RouteName } from './route.constant'
export default class Route {
  name: RouteName // 事件类型
  callback?: RouteCallback
  constructor(name: RouteName, callback?: RouteCallback) {
    this.name = name
    this.callback = callback
  }
}
